package com.vshop.service;

import com.vshop.entity.alast.common.ServicePlanOrderRecord;
import com.vshop.entity.comentity.PackageAndOrderParamVo;
import com.vshop.entity.comentity.UserOrderPackage;
import com.vshop.entity.comentity.UserOrderPayment;

import java.util.List;

public interface UserOrderPackageService {

    List<UserOrderPackage> queryPackageOrderByCode(String partnerCode, String deviceCode);

    String queryAmount(String packageCode, String partnerCode, String deviceCode, String orderIds);

    int getOrderListByPackageInfo(String partnerCode, String deviceCode, String packageCode, String name, String packageType, String globalOrder, String orderPeriod, String payAmount, String payCurrency, String partnerScope, String orderNo);

    void insertUserNoCard(UserOrderPackage order);

    void insertUserHaveCard(UserOrderPackage order);

    void updateRenewOrderUserHaveCard(UserOrderPackage reneworder);

    void updateNewOrderUserHaveCard(UserOrderPackage neworder);

    List<UserOrderPackage> queryOrderFee(String orderId, String deviceCode);

    String queryAmountByCode(String orderId, String deviceCode, String partnerCode);

    int getOrderListByPackageInfoNoCard(String partnerCode, String packageCode, String name, String packageType, String globalOrder, String orderPeriod, String payAmount, String payCurrency, String partnerScope, String orderNo);

    List<UserOrderPackage> getRenewPackageList();

    void updateRenewStatus(UserOrderPackage orderPackage);

    List<UserOrderPackage> getNoCardList();

    void updateNoCardOrderId(UserOrderPackage order);

    List<UserOrderPackage> queryOrderByCode(String partnerCode, String deviceCode);

    List<UserOrderPackage> queryOrderById(String partnerCode, String payId);

    List<UserOrderPackage> queryFee(String payId);

    void updateTimeAndStatus(UserOrderPackage kage);

    int getCountByOrderId(String orderId);

    List<UserOrderPackage> getChannelResultList();

    void updateyIsPartnerNotity(ServicePlanOrderRecord re);

    List<UserOrderPackage> getStatusTimeOrderList();

    List<UserOrderPackage> getListToOpen();

    Integer updateIsOpen(UserOrderPackage userOrder);

    int findCount(String partnerCode, String packageCode, String requestOrderId);

    void dataTransfer();

    void originalDataDelete();

    List<UserOrderPackage> getListToPurchase();

    List<UserOrderPackage> queryRecord(String deviceCode, String payId, String startDate, String endDate);

    String queryPartnerCode(String orderId);

    String querySecret(String secret);
}
